package com.korubo.web.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.korubo.kit.BaseMode;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "tb_user")
public class User extends BaseMode implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @TableField(value = "\"name\"")
    private String name;

    @TableField(value = "pwd")
    private String pwd;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "email")
    private String email;

    @TableField(value = "sex")
    private String sex;

    @TableField(value = "adder")
    private String adder;

    @TableField(value = "role_id")
    private String roleId;

    private static final long serialVersionUID = 1L;
}
